﻿using System;
using System.ComponentModel;

using SBPweb.Modules.Modularity;

using SBPweb.MediaCenter.Common.Services;

namespace SBPweb.MediaCenter.Modules.Downloader
{

    public abstract class Module : SBPweb.MediaCenter.Common.Modularity.ModuleBase
    {

        #region Constructor logic

        public Module(IModuleHost parent)
            : base(parent)
        {
        }

        #endregion

        #region Property accessors

        public IDownloaderService Downloader
        {
            get
            {
                return Services.Get<IDownloaderService>();
            }
            protected set
            {
                Services.Put<IDownloaderService>(value);
            }
        }

        #endregion

        #region Methods

        #endregion

    }

}